package com.ebupt.migu.music.common.record;

import com.baomidou.dynamic.datasource.annotation.DS;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * @description: TODO
 * @author: liuyangyang@ebupt.com
 * @date: 2021/3/17 16:04
 */
@Mapper
@DS("mysql_mg")
public interface RecordSyncMapper {
    /**
     * 查询策略关联的黑白名单ID
     * @param strategyId
     * @return
     */
    Map<String, Object> queryStrategyInfo(String strategyId);

    /**
     * 查询名单中的电话号码
     * @param rosterId
     * @return
     */
    List<String> queryMsisdns(String rosterId);

    /**
     * 查询名单中的uid
     * @param rosterId
     * @return
     */
    List<String> queryUUIDs(String rosterId);
}
